package com.zlkj.pro.core.annotation;

import com.fasterxml.jackson.annotation.JacksonAnnotationsInside;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zlkj.pro.core.annotation.impl.FileJsonDeserializeImpl;
import com.zlkj.pro.core.annotation.impl.FileJsonSerializeImpl;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 文件访问地址前缀
 *
 * @author 孙铭泽
 * @date 2020-10-28
 * @time 22:41
 **/
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@JacksonAnnotationsInside
@JsonSerialize(using = FileJsonSerializeImpl.class)
@JsonDeserialize(using = FileJsonDeserializeImpl.class)
public @interface FilePrefix {

}
